import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import { jsx as _jsx } from "react/jsx-runtime";
import { ConfigProvider } from 'antd-v4';
import classNames from 'classnames';
import { useContext } from 'react';
import './index.less';

var ProCardDivider = function ProCardDivider(props) {
  var _useContext = useContext(ConfigProvider.ConfigContext),
      getPrefixCls = _useContext.getPrefixCls;

  var prefixCls = getPrefixCls('pro-card-divider');
  var className = props.className,
      _props$style = props.style,
      style = _props$style === void 0 ? {} : _props$style,
      type = props.type;
  var classString = classNames(prefixCls, className, _defineProperty({}, "".concat(prefixCls, "-").concat(type), type));
  return _jsx("div", {
    className: classString,
    style: style
  });
};

export default ProCardDivider;